#pragma once
class IFTPAgent
{
public:

	IFTPAgent(void);
	virtual ~IFTPAgent(void) = 0;

public:

	virtual bool MakeDirectory(TCHAR strDirectory[MAX_PATH]) = 0;
	virtual bool IsFileExist(TCHAR strFilePath[MAX_PATH])	 = 0;
	virtual bool UploadFile(TCHAR szLocalFile[MAX_PATH], TCHAR szRemoteFile[MAX_PATH]) = 0;
	virtual bool DownloadFile(TCHAR szRemoteFile[MAX_PATH], TCHAR szLocalFile[MAX_PATH],int iTimeOut = 0) = 0;
	virtual bool Login(TCHAR* pHost, TCHAR* pUser, TCHAR* pPwd, UINT32 nPort) = 0;
	virtual bool Logout() = 0;
	virtual	bool Rename(TCHAR szCurrentFileName[MAX_PATH], TCHAR szNewFileName[MAX_PATH]) = 0;
	virtual bool Remove(TCHAR szFileName[MAX_PATH]) = 0;
};

